<?php 
namespace app\admin\controller;
use think\Controller;
/**
* 管理员相关
*/
class Admin extends Controller
{
	public function index()
	{
		return 'Admin';
	}
	/**
	 * [管理员列表]
	 * @Author   lessant@126.com
	 * @DateTime 2017-11-05T15:33:26+0800
	 * @return   [type]                   [description]
	 */
	public function admin_list()
	{
		$admin_data = db('admin')->field('aid,username,email,phone,role,ctime,status')->select();
		var_dump($admin_data);
		$this->assign('admin_data',$admin_data);
		return $this->fetch();
	}
	/**
	 * [角色管理]
	 * @Author   lessant@126.com
	 * @DateTime 2017-11-05T15:32:17+0800
	 * @return   [type]                   [description]
	 */
	public function admin_role()
	{

		return $this->fetch();
	}
	/**
	 * [权限管理]
	 * @Author   lessant@126.com
	 * @DateTime 2017-11-05T15:32:51+0800
	 * @return   [type]                   [description]
	 */
	public function admin_permission()
	{

		return $this->fetch();
	}
	
	
}


?>